-
Notifications
You must be signed in to change notification settings - Fork 56
fix(PM-1168): QA feedbacks for assigning copilots #810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -99,6 +99,7 @@ module.exports = [ | |||
} | |||
|
|||
const applicationUser = await util.getMemberDetailsByUserIds([userId], req.log, req.id); | |||
console.log(applicationUser, 'applicationUser'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the console.log
statement used for debugging purposes. It is not recommended to leave debugging logs in production code.
@@ -99,6 +99,7 @@ module.exports = [ | |||
} | |||
|
|||
const applicationUser = await util.getMemberDetailsByUserIds([userId], req.log, req.id); | |||
req.log.info(applicationUser, 'applicationUser'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider removing the logging of applicationUser
if it is not necessary for production. Logging sensitive information can lead to security issues.
@@ -99,6 +99,7 @@ module.exports = [ | |||
} | |||
|
|||
const applicationUser = await util.getMemberDetailsByUserIds([userId], req.log, req.id); | |||
req.log.info(applicationUser, 'applicationUser asdsd', userId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The log message seems to have a typo or unnecessary text 'asdsd'. Consider revising it to ensure clarity and relevance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
What's in this PR?
Ticket link - https://topcoder.atlassian.net/browse/PM-1168